import java.util.Scanner;

public class Test4 {
    public static int feib(int n){
        if(n==1){
            return 0;
        }
        if(n==2){
            return 1;
        }
        return feib(n-1)+feib(n-2);
    }
    public static void main(String[] args) {
        System.out.println(feib(1));
        System.out.println(feib(2));
        System.out.println(feib(3));
        System.out.println(feib(4));
        System.out.println(feib(5));
        System.out.println(feib(6));
    }
}
